﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D09 RID: 3337
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerExtraInfo : IMessage<PlayerExtraInfo>, IMessage, IEquatable<PlayerExtraInfo>, IDeepCloneable<PlayerExtraInfo>, IBufferMessage
	{
		// Token: 0x17002A1A RID: 10778
		// (get) Token: 0x06009545 RID: 38213 RVA: 0x0018D2B8 File Offset: 0x0018B4B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerExtraInfo> Parser
		{
			get
			{
				return PlayerExtraInfo._parser;
			}
		}

		// Token: 0x17002A1B RID: 10779
		// (get) Token: 0x06009546 RID: 38214 RVA: 0x0018D2BF File Offset: 0x0018B4BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerExtraInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A1C RID: 10780
		// (get) Token: 0x06009547 RID: 38215 RVA: 0x0018D2D1 File Offset: 0x0018B4D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerExtraInfo.Descriptor;
			}
		}

		// Token: 0x06009548 RID: 38216 RVA: 0x0018D2D8 File Offset: 0x0018B4D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerExtraInfo()
		{
		}

		// Token: 0x06009549 RID: 38217 RVA: 0x0018D2EC File Offset: 0x0018B4EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerExtraInfo(PlayerExtraInfo other) : this()
		{
			this.mMMFAGENCHJ_ = other.mMMFAGENCHJ_.Clone();
			this.cNMOONMOHHB_ = other.cNMOONMOHHB_;
			if (other.EJAKKLJEAKOCase == PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
			{
				this.ODIDEALACAI = other.ODIDEALACAI.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600954A RID: 38218 RVA: 0x0018D34B File Offset: 0x0018B54B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerExtraInfo Clone()
		{
			return new PlayerExtraInfo(this);
		}

		// Token: 0x17002A1D RID: 10781
		// (get) Token: 0x0600954B RID: 38219 RVA: 0x0018D353 File Offset: 0x0018B553
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<string> MMMFAGENCHJ
		{
			get
			{
				return this.mMMFAGENCHJ_;
			}
		}

		// Token: 0x17002A1E RID: 10782
		// (get) Token: 0x0600954C RID: 38220 RVA: 0x0018D35B File Offset: 0x0018B55B
		// (set) Token: 0x0600954D RID: 38221 RVA: 0x0018D363 File Offset: 0x0018B563
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool CNMOONMOHHB
		{
			get
			{
				return this.cNMOONMOHHB_;
			}
			set
			{
				this.cNMOONMOHHB_ = value;
			}
		}

		// Token: 0x17002A1F RID: 10783
		// (get) Token: 0x0600954E RID: 38222 RVA: 0x0018D36C File Offset: 0x0018B56C
		// (set) Token: 0x0600954F RID: 38223 RVA: 0x0018D388 File Offset: 0x0018B588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJMGILALBDC ODIDEALACAI
		{
			get
			{
				if (this.eJAKKLJEAKOCase_ != PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
				{
					return null;
				}
				return (PJMGILALBDC)this.eJAKKLJEAKO_;
			}
			set
			{
				this.eJAKKLJEAKO_ = value;
				this.eJAKKLJEAKOCase_ = ((value == null) ? PlayerExtraInfo.EJAKKLJEAKOOneofCase.None : PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI);
			}
		}

		// Token: 0x17002A20 RID: 10784
		// (get) Token: 0x06009550 RID: 38224 RVA: 0x0018D3A2 File Offset: 0x0018B5A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerExtraInfo.EJAKKLJEAKOOneofCase EJAKKLJEAKOCase
		{
			get
			{
				return this.eJAKKLJEAKOCase_;
			}
		}

		// Token: 0x06009551 RID: 38225 RVA: 0x0018D3AA File Offset: 0x0018B5AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearEJAKKLJEAKO()
		{
			this.eJAKKLJEAKOCase_ = PlayerExtraInfo.EJAKKLJEAKOOneofCase.None;
			this.eJAKKLJEAKO_ = null;
		}

		// Token: 0x06009552 RID: 38226 RVA: 0x0018D3BA File Offset: 0x0018B5BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerExtraInfo);
		}

		// Token: 0x06009553 RID: 38227 RVA: 0x0018D3C8 File Offset: 0x0018B5C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerExtraInfo other)
		{
			return other != null && (other == this || (this.mMMFAGENCHJ_.Equals(other.mMMFAGENCHJ_) && this.CNMOONMOHHB == other.CNMOONMOHHB && object.Equals(this.ODIDEALACAI, other.ODIDEALACAI) && this.EJAKKLJEAKOCase == other.EJAKKLJEAKOCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009554 RID: 38228 RVA: 0x0018D43C File Offset: 0x0018B63C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.mMMFAGENCHJ_.GetHashCode();
			if (this.CNMOONMOHHB)
			{
				num ^= this.CNMOONMOHHB.GetHashCode();
			}
			if (this.eJAKKLJEAKOCase_ == PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
			{
				num ^= this.ODIDEALACAI.GetHashCode();
			}
			num ^= (int)this.eJAKKLJEAKOCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009555 RID: 38229 RVA: 0x0018D4AD File Offset: 0x0018B6AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009556 RID: 38230 RVA: 0x0018D4B5 File Offset: 0x0018B6B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009557 RID: 38231 RVA: 0x0018D4C0 File Offset: 0x0018B6C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.mMMFAGENCHJ_.WriteTo(ref output, PlayerExtraInfo._repeated_mMMFAGENCHJ_codec);
			if (this.CNMOONMOHHB)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.CNMOONMOHHB);
			}
			if (this.eJAKKLJEAKOCase_ == PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
			{
				output.WriteRawTag(202, 62);
				output.WriteMessage(this.ODIDEALACAI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009558 RID: 38232 RVA: 0x0018D534 File Offset: 0x0018B734
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.mMMFAGENCHJ_.CalculateSize(PlayerExtraInfo._repeated_mMMFAGENCHJ_codec);
			if (this.CNMOONMOHHB)
			{
				num += 2;
			}
			if (this.eJAKKLJEAKOCase_ == PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.ODIDEALACAI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009559 RID: 38233 RVA: 0x0018D598 File Offset: 0x0018B798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerExtraInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.mMMFAGENCHJ_.Add(other.mMMFAGENCHJ_);
			if (other.CNMOONMOHHB)
			{
				this.CNMOONMOHHB = other.CNMOONMOHHB;
			}
			if (other.EJAKKLJEAKOCase == PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
			{
				if (this.ODIDEALACAI == null)
				{
					this.ODIDEALACAI = new PJMGILALBDC();
				}
				this.ODIDEALACAI.MergeFrom(other.ODIDEALACAI);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600955A RID: 38234 RVA: 0x0018D616 File Offset: 0x0018B816
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600955B RID: 38235 RVA: 0x0018D620 File Offset: 0x0018B820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 16U)
					{
						if (num != 8010U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							PJMGILALBDC pjmgilalbdc = new PJMGILALBDC();
							if (this.eJAKKLJEAKOCase_ == PlayerExtraInfo.EJAKKLJEAKOOneofCase.ODIDEALACAI)
							{
								pjmgilalbdc.MergeFrom(this.ODIDEALACAI);
							}
							input.ReadMessage(pjmgilalbdc);
							this.ODIDEALACAI = pjmgilalbdc;
						}
					}
					else
					{
						this.CNMOONMOHHB = input.ReadBool();
					}
				}
				else
				{
					this.mMMFAGENCHJ_.AddEntriesFrom(ref input, PlayerExtraInfo._repeated_mMMFAGENCHJ_codec);
				}
			}
		}

		// Token: 0x04003924 RID: 14628
		private static readonly MessageParser<PlayerExtraInfo> _parser = new MessageParser<PlayerExtraInfo>(() => new PlayerExtraInfo());

		// Token: 0x04003925 RID: 14629
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003926 RID: 14630
		public const int MMMFAGENCHJFieldNumber = 1;

		// Token: 0x04003927 RID: 14631
		private static readonly FieldCodec<string> _repeated_mMMFAGENCHJ_codec = FieldCodec.ForString(10U);

		// Token: 0x04003928 RID: 14632
		private readonly RepeatedField<string> mMMFAGENCHJ_ = new RepeatedField<string>();

		// Token: 0x04003929 RID: 14633
		public const int CNMOONMOHHBFieldNumber = 2;

		// Token: 0x0400392A RID: 14634
		private bool cNMOONMOHHB_;

		// Token: 0x0400392B RID: 14635
		public const int ODIDEALACAIFieldNumber = 1001;

		// Token: 0x0400392C RID: 14636
		private object eJAKKLJEAKO_;

		// Token: 0x0400392D RID: 14637
		private PlayerExtraInfo.EJAKKLJEAKOOneofCase eJAKKLJEAKOCase_;

		// Token: 0x02001B71 RID: 7025
		public enum EJAKKLJEAKOOneofCase
		{
			// Token: 0x040066C7 RID: 26311
			None,
			// Token: 0x040066C8 RID: 26312
			ODIDEALACAI = 1001
		}
	}
}
